<!DOCTYPE html>
<html>
<head>
    <title>OTM-Docker Server</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" />
    <style>
        body {
            padding: 0;
            margin: 0;
            height: 100%;
            width: 100%;
        }
        #map {
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
<div id="map"></div>
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
<script>
    const updateSize = function() {
        document.body.style.height = window.innerHeight + 'px';
        document.body.style.width = window.innerWidth + 'px';
    };

    window.addEventListener('resize', updateSize);
    updateSize();

    const map = L.map('map').setView([40.5, 34.4], 2);
    L.tileLayer('http://$DOMAIN/otm/{z}/{x}/{y}.png').addTo(map);
</script>
</body>
</html>
